import request from '@/utils/request'

export function listGuidanceList(query) {
  return request({
    url: '/archive/supervision/list',
    method: 'get',
    params: query
  })
}



export function updateGuidanceList(data) {
  return request({
    url: '/archive/supervision',
    method: 'put',
    data: data
  })
}

export function getDetail(id) {
  return request({
    url: '/archive/supervision/'+id,
    method: 'get'

  })
}

// 讨论列表
export function getDiscussList(query) {
  return request({
    url: '/archive/discuss/list',
    method: 'get',
    params: query
  })
}

// 新增讨论
export function addDiscuss(data) {
  return request({
    url: '/archive/discuss',
    method: 'post',
    data: data
  })
}

